/*
 * Generated file. 
 * 
 * ViewTopic2.java
 */
package xsp;

import com.ibm.xsp.page.compiled.AbstractCompiledPage;
import com.ibm.xsp.page.compiled.AbstractCompiledPageDispatcher;
import javax.faces.component.UIComponent;
import javax.faces.context.FacesContext;
import com.ibm.xsp.page.compiled.NoSuchComponentException;
import com.ibm.xsp.page.compiled.PageExpressionEvaluator;
import java.lang.String;
import java.lang.Object;
import java.lang.Integer;
import javax.faces.el.MethodBinding;
import com.ibm.xsp.component.FacesPageProvider;
import javax.faces.el.ValueBinding;
import com.ibm.xsp.model.domino.DominoDocumentData;
import com.ibm.xsp.component.FacesDataProvider;
import com.ibm.xsp.model.domino.DominoViewData;
import com.ibm.xsp.component.UIViewRootEx2;
import java.lang.Boolean;
import com.ibm.xsp.component.UIPanelEx;
import java.util.Map;
import com.ibm.xsp.component.xp.XspOutputText;
import com.ibm.xsp.extlib.component.mobile.UIDMHeading;
import com.ibm.xsp.extlib.component.dynamiccontent.UIDynamicContent;
import com.ibm.xsp.component.xp.XspTable;
import com.ibm.xsp.component.xp.XspTableRow;
import com.ibm.xsp.component.xp.XspTableCell;
import com.ibm.xsp.component.xp.XspOutputLabel;
import com.ibm.xsp.component.xp.XspInputText;
import com.ibm.xsp.component.xp.XspInputRichText;
import com.ibm.xsp.component.xp.XspCommandButton;
import com.ibm.xsp.component.xp.XspEventHandler;
import com.ibm.xsp.actions.ActionGroup;
import com.ibm.xsp.actions.SaveDocumentAction;
import com.ibm.xsp.actions.ExecuteScriptAction;
import com.ibm.xsp.extlib.actions.server.ChangeDynamicContentAction;
import com.ibm.xsp.convert.DateTimeConverter;
import com.ibm.xsp.component.xp.XspOutputLink;
import com.ibm.xsp.complex.Parameter;
import com.ibm.xsp.component.UIPassThroughTag;
import com.ibm.xsp.component.xp.XspDiv;
import com.ibm.xsp.extlib.actions.MoveToAction;
import com.ibm.xsp.component.xp.XspFileDownload;
import com.ibm.xsp.component.UIIncludeComposite;
import com.ibm.xsp.binding.PropertyMap;
import com.ibm.xsp.component.xp.XspLineBreak;
import com.ibm.xsp.actions.OpenPageAction;
import com.ibm.xsp.actions.ChangeDocumentModeAction;
import com.ibm.xsp.actions.ConfirmAction;
import com.ibm.xsp.component.xp.XspGraphicImage;
import com.ibm.xsp.component.xp.XspDataIterator;

@SuppressWarnings("all")
public class ViewTopic2 extends AbstractCompiledPageDispatcher{
    
    public ViewTopic2() {
        super("8.5.2"); // version of xp:link role
    }

    protected AbstractCompiledPage createPage(int pageIndex) {
        return new ViewTopic2Page();
    }
    
    protected boolean isCustomControl() {
        return true;
    }

    public static class ViewTopic2Page extends AbstractCompiledPage {
        
        private static final ComponentInfo[] s_infos = new ComponentInfo[]{
            ComponentInfo.EMPTY_NORMAL, // 0 "cfsubject"
            new ComponentInfo(false, new int[]{0}), // 1 "cfsubjectpanel"
            ComponentInfo.EMPTY_NORMAL, // 2 "djxmheading3"
            ComponentInfo.EMPTY_NORMAL, // 3 "label16"
            new ComponentInfo(false, new int[]{3}), // 4 td
            ComponentInfo.EMPTY_NORMAL, // 5 "inputtext4"
            new ComponentInfo(false, new int[]{5}), // 6 td2
            new ComponentInfo(false, new int[]{4, 6}), // 7 tr
            ComponentInfo.EMPTY_NORMAL, // 8 "label6"
            new ComponentInfo(false, new int[]{8}), // 9 td3
            ComponentInfo.EMPTY_NORMAL, // 10 "computedfield2"
            new ComponentInfo(false, new int[]{10}), // 11 "panel1"
            new ComponentInfo(false, new int[]{11}), // 12 td4
            new ComponentInfo(false, new int[]{9, 12}), // 13 tr2
            ComponentInfo.EMPTY_NORMAL, // 14 "label7"
            new ComponentInfo(false, new int[]{14}), // 15 td5
            ComponentInfo.EMPTY_NORMAL, // 16 "inputtext1"
            new ComponentInfo(false, new int[]{16}), // 17 td6
            new ComponentInfo(false, new int[]{15, 17}), // 18 tr3
            ComponentInfo.EMPTY_NORMAL, // 19 "label20"
            new ComponentInfo(false, new int[]{19}), // 20 td7
            ComponentInfo.EMPTY_NORMAL, // 21 "computedfield17"
            new ComponentInfo(false, new int[]{21}), // 22 "panel13"
            new ComponentInfo(false, new int[]{22}), // 23 td8
            new ComponentInfo(false, new int[]{20, 23}), // 24 tr4
            ComponentInfo.EMPTY_NORMAL, // 25 "label21"
            new ComponentInfo(false, new int[]{25}), // 26 td9
            ComponentInfo.EMPTY_NORMAL, // 27 "rtbody"
            new ComponentInfo(false, new int[]{27}), // 28 td10
            new ComponentInfo(false, new int[]{26, 28}), // 29 tr5
            ComponentInfo.EMPTY_NORMAL, // 30 "label22"
            new ComponentInfo(false, new int[]{30}), // 31 td11
            ComponentInfo.EMPTY_NORMAL, // 32 "computedfield18"
            new ComponentInfo(false, new int[]{32}), // 33 "panel14"
            new ComponentInfo(false, new int[]{33}), // 34 td12
            new ComponentInfo(false, new int[]{31, 34}), // 35 tr6
            ComponentInfo.EMPTY_NORMAL, // 36 "eventhandler4"
            new ComponentInfo(false, new int[]{36}), // 37 "button8"
            ComponentInfo.EMPTY_NORMAL, // 38 "label2"
            ComponentInfo.EMPTY_NORMAL, // 39 "eventhandler5"
            new ComponentInfo(false, new int[]{39}), // 40 "button9"
            new ComponentInfo(false, new int[]{37, 38, 40}), // 41 td13
            new ComponentInfo(false, new int[]{41}), // 42 tr7
            new ComponentInfo(false, new int[]{7, 13, 18, 24, 29, 35, 42}), // 43 table
            new ComponentInfo(false, new int[]{43}), // 44 "panel12"
            ComponentInfo.EMPTY_NORMAL, // 45 "labeltags"
            ComponentInfo.EMPTY_NORMAL, // 46 "tagfield"
            ComponentInfo.EMPTY_NORMAL, // 47 "label4"
            ComponentInfo.EMPTY_NORMAL, // 48 "labelcreated"
            ComponentInfo.EMPTY_NORMAL, // 49 "cfcreated"
            ComponentInfo.EMPTY_NORMAL, // 50 "labelby"
            ComponentInfo.EMPTY_NORMAL, // 51 "authorlink"
            ComponentInfo.EMPTY_NORMAL, // 52 "label1"
            ComponentInfo.EMPTY_NORMAL, // 53 "labelreplies"
            ComponentInfo.EMPTY_NORMAL, // 54 "cfnumofreplies"
            new ComponentInfo(false, new int[]{45, 46, 47, 48, 49, 50, 51, 52, 53, 54}), // 55 td14
            new ComponentInfo(false, new int[]{55}), // 56 tr8
            ComponentInfo.EMPTY_NORMAL, // 57 label
            new ComponentInfo(true, new int[]{57}), // 58 div
            new ComponentInfo(false, new int[]{58}), // 59 td15
            new ComponentInfo(false, new int[]{59}), // 60 tr9
            ComponentInfo.EMPTY_NORMAL, // 61 eventHandler
            new ComponentInfo(false, new int[]{61}), // 62 "link5"
            ComponentInfo.EMPTY_NORMAL, // 63 "label12"
            ComponentInfo.EMPTY_NORMAL, // 64 "inputtext2"
            new ComponentInfo(false, new int[]{62, 63, 64}), // 65 div2
            ComponentInfo.EMPTY_MARKUP, // 66 hr
            new ComponentInfo(false, new int[]{65, 66}), // 67 td16
            new ComponentInfo(false, new int[]{67}), // 68 tr10
            ComponentInfo.EMPTY_NORMAL, // 69 "label8"
            new ComponentInfo(false, new int[]{69}), // 70 td17
            ComponentInfo.EMPTY_NORMAL, // 71 "computedfield7"
            new ComponentInfo(false, new int[]{71}), // 72 "panel8"
            new ComponentInfo(false, new int[]{72}), // 73 td18
            new ComponentInfo(false, new int[]{70, 73}), // 74 tr11
            ComponentInfo.EMPTY_NORMAL, // 75 "label3"
            new ComponentInfo(false, new int[]{75}), // 76 td19
            new ComponentInfo(false, new int[]{76}), // 77 tr12
            ComponentInfo.EMPTY_MARKUP, // 78 div3
            new ComponentInfo(false, new int[]{78}), // 79 td20
            new ComponentInfo(false, new int[]{79}), // 80 tr13
            ComponentInfo.EMPTY_NORMAL, // 81 "computedfield1"
            new ComponentInfo(false, new int[]{81}), // 82 td21
            new ComponentInfo(false, new int[]{82}), // 83 tr14
            ComponentInfo.EMPTY_NORMAL, // 84 "label10"
            new ComponentInfo(false, new int[]{84}), // 85 td22
            ComponentInfo.EMPTY_NORMAL, // 86 "computedfield16"
            new ComponentInfo(false, new int[]{86}), // 87 "panel9"
            new ComponentInfo(false, new int[]{87}), // 88 td23
            new ComponentInfo(false, new int[]{85, 88}), // 89 tr15
            ComponentInfo.EMPTY_MARKUP, // 90 hr2
            new ComponentInfo(false, new int[]{90}), // 91 td24
            ComponentInfo.EMPTY_NORMAL, // 92 "filedownload2"
            new ComponentInfo(false, new int[]{92}), // 93 panel3
            new ComponentInfo(false, new int[]{93}), // 94 td25
            new ComponentInfo(false, new int[]{91, 94}), // 95 tr16
            new ComponentInfo(false, new int[]{56, 60, 68, 74, 77, 80, 83, 89, 95}), // 96 table2
            ComponentInfo.EMPTY_NORMAL, // 97 mobile_fileDownload
            ComponentInfo.EMPTY_NORMAL, // 98 br
            new ComponentInfo(false, new int[]{96, 97, 98}), // 99 "panel7"
            new ComponentInfo(false, null, // 100 "dynamiccontent1"
              new Object[][]{
                new Object[]{"editCon2", Integer.valueOf(44)},
                new Object[]{"viewContent2", Integer.valueOf(99)},
              } ),
            ComponentInfo.EMPTY_NORMAL, // 101 eventHandler2
            new ComponentInfo(false, new int[]{101}), // 102 "replybutton"
            ComponentInfo.EMPTY_NORMAL, // 103 eventHandler3
            new ComponentInfo(false, new int[]{103}), // 104 "buttonedit2"
            ComponentInfo.EMPTY_NORMAL, // 105 eventHandler6
            new ComponentInfo(false, new int[]{105}), // 106 "buttondelete"
            ComponentInfo.EMPTY_NORMAL, // 107 eventHandler7
            new ComponentInfo(false, new int[]{107}), // 108 "buttonnavigateback"
            ComponentInfo.EMPTY_NORMAL, // 109 br2
            ComponentInfo.EMPTY_NORMAL, // 110 br3
            new ComponentInfo(false, new int[]{102, 104, 106, 108, 109, 110}), // 111 "paneleditcontrol"
            ComponentInfo.EMPTY_NORMAL, // 112 "response"
            new ComponentInfo(false, new int[]{112}), // 113 panel4
            ComponentInfo.EMPTY_NORMAL, // 114 br4
            ComponentInfo.EMPTY_NORMAL, // 115 "topicicon"
            ComponentInfo.EMPTY_NORMAL, // 116 eventHandler8
            new ComponentInfo(false, new int[]{116}), // 117 "label28"
            ComponentInfo.EMPTY_MARKUP, // 118 br5
            new ComponentInfo(false, new int[]{115, 117, 118}), // 119 panel11
            ComponentInfo.EMPTY_NORMAL, // 120 "label14"
            ComponentInfo.EMPTY_NORMAL, // 121 "cftopiccreatedon"
            ComponentInfo.EMPTY_MARKUP, // 122 br6
            ComponentInfo.EMPTY_NORMAL, // 123 "label5"
            ComponentInfo.EMPTY_NORMAL, // 124 eventHandler9
            new ComponentInfo(false, new int[]{124}), // 125 "linktopicfrom"
            new ComponentInfo(false, new int[]{120, 121, 122, 123, 125}), // 126 panel15
            ComponentInfo.EMPTY_NORMAL, // 127 br7
            ComponentInfo.EMPTY_NORMAL, // 128 br8
            ComponentInfo.EMPTY_NORMAL, // 129 "inputrichtext1"
            ComponentInfo.EMPTY_NORMAL, // 130 br9
            ComponentInfo.EMPTY_NORMAL, // 131 eventHandler10
            new ComponentInfo(false, new int[]{131}), // 132 "label9"
            ComponentInfo.EMPTY_NORMAL, // 133 link
            new ComponentInfo(false, new int[]{129, 130, 132, 133}), // 134 panel16
            new ComponentInfo(false, new int[]{119, 126, 127, 128, 134}), // 135 panel10
            new ComponentInfo(false, new int[]{135}), // 136 panel6
            new ComponentInfo(false, new int[]{136}), // 137 td26
            new ComponentInfo(false, new int[]{137}), // 138 tr17
            new ComponentInfo(false, new int[]{138}), // 139 table3
            ComponentInfo.EMPTY_NORMAL, // 140 "responseimage"
            ComponentInfo.EMPTY_NORMAL, // 141 eventHandler11
            new ComponentInfo(false, new int[]{141}), // 142 link2
            ComponentInfo.EMPTY_MARKUP, // 143 br10
            new ComponentInfo(false, new int[]{142, 143}), // 144 panel19
            ComponentInfo.EMPTY_NORMAL, // 145 "labelcreatedon"
            ComponentInfo.EMPTY_NORMAL, // 146 "cfcreatedon"
            ComponentInfo.EMPTY_MARKUP, // 147 br11
            ComponentInfo.EMPTY_NORMAL, // 148 "labelby2"
            ComponentInfo.EMPTY_NORMAL, // 149 eventHandler12
            new ComponentInfo(false, new int[]{149}), // 150 "link1"
            new ComponentInfo(false, new int[]{145, 146, 147, 148, 150}), // 151 panel20
            ComponentInfo.EMPTY_NORMAL, // 152 br12
            ComponentInfo.EMPTY_NORMAL, // 153 br13
            ComponentInfo.EMPTY_NORMAL, // 154 "inputrichtext2"
            ComponentInfo.EMPTY_NORMAL, // 155 br14
            ComponentInfo.EMPTY_NORMAL, // 156 eventHandler13
            new ComponentInfo(false, new int[]{156}), // 157 "label11"
            ComponentInfo.EMPTY_NORMAL, // 158 link3
            new ComponentInfo(false, new int[]{154, 155, 157, 158}), // 159 panel21
            new ComponentInfo(false, new int[]{144, 151, 152, 153, 159}), // 160 panel18
            new ComponentInfo(false, new int[]{160}), // 161 panel17
            new ComponentInfo(false, new int[]{140, 161}), // 162 td27
            new ComponentInfo(false, new int[]{162}), // 163 tr18
            new ComponentInfo(false, new int[]{163}), // 164 table4
            new ComponentInfo(false, new int[]{164}), // 165 "repeatlist"
            new ComponentInfo(false, new int[]{139, 165}), // 166 panel5
            new ComponentInfo(false, new int[]{100, 111, 113, 114, 166}), // 167 panel2
            new ComponentInfo(false, new int[]{167}), // 168 panel
            ComponentInfo.EMPTY_NORMAL, // 169 br15
            new ComponentInfo(false, new int[]{1, 2, 168, 169}), // 170 view
        };
        
        public ViewTopic2Page() {
            super(170, s_infos );
        }
        
        public int getComponentForId(String id) throws NoSuchComponentException { 
            if( "cfsubjectpanel".equals(id) )
                return 1;
            if( "cfsubject".equals(id) )
                return 0;
            if( "djxmheading3".equals(id) )
                return 2;
            if( "dynamiccontent1".equals(id) )
                return 100;
            if( "panel12".equals(id) )
                return 44;
            if( "label16".equals(id) )
                return 3;
            if( "inputtext4".equals(id) )
                return 5;
            if( "label6".equals(id) )
                return 8;
            if( "panel1".equals(id) )
                return 11;
            if( "computedfield2".equals(id) )
                return 10;
            if( "label7".equals(id) )
                return 14;
            if( "inputtext1".equals(id) )
                return 16;
            if( "label20".equals(id) )
                return 19;
            if( "panel13".equals(id) )
                return 22;
            if( "computedfield17".equals(id) )
                return 21;
            if( "label21".equals(id) )
                return 25;
            if( "rtbody".equals(id) )
                return 27;
            if( "label22".equals(id) )
                return 30;
            if( "panel14".equals(id) )
                return 33;
            if( "computedfield18".equals(id) )
                return 32;
            if( "button8".equals(id) )
                return 37;
            if( "eventhandler4".equals(id) )
                return 36;
            if( "label2".equals(id) )
                return 38;
            if( "button9".equals(id) )
                return 40;
            if( "eventhandler5".equals(id) )
                return 39;
            if( "panel7".equals(id) )
                return 99;
            if( "labeltags".equals(id) )
                return 45;
            if( "tagfield".equals(id) )
                return 46;
            if( "label4".equals(id) )
                return 47;
            if( "labelcreated".equals(id) )
                return 48;
            if( "cfcreated".equals(id) )
                return 49;
            if( "labelby".equals(id) )
                return 50;
            if( "authorlink".equals(id) )
                return 51;
            if( "label1".equals(id) )
                return 52;
            if( "labelreplies".equals(id) )
                return 53;
            if( "cfnumofreplies".equals(id) )
                return 54;
            if( "link5".equals(id) )
                return 62;
            if( "label12".equals(id) )
                return 63;
            if( "inputtext2".equals(id) )
                return 64;
            if( "label8".equals(id) )
                return 69;
            if( "panel8".equals(id) )
                return 72;
            if( "computedfield7".equals(id) )
                return 71;
            if( "label3".equals(id) )
                return 75;
            if( "computedfield1".equals(id) )
                return 81;
            if( "label10".equals(id) )
                return 84;
            if( "panel9".equals(id) )
                return 87;
            if( "computedfield16".equals(id) )
                return 86;
            if( "filedownload2".equals(id) )
                return 92;
            if( "paneleditcontrol".equals(id) )
                return 111;
            if( "replybutton".equals(id) )
                return 102;
            if( "buttonedit2".equals(id) )
                return 104;
            if( "buttondelete".equals(id) )
                return 106;
            if( "buttonnavigateback".equals(id) )
                return 108;
            if( "response".equals(id) )
                return 112;
            if( "topicicon".equals(id) )
                return 115;
            if( "label28".equals(id) )
                return 117;
            if( "label14".equals(id) )
                return 120;
            if( "cftopiccreatedon".equals(id) )
                return 121;
            if( "label5".equals(id) )
                return 123;
            if( "linktopicfrom".equals(id) )
                return 125;
            if( "inputrichtext1".equals(id) )
                return 129;
            if( "label9".equals(id) )
                return 132;
            if( "repeatlist".equals(id) )
                return 165;
            if( "responseimage".equals(id) )
                return 140;
            if( "labelcreatedon".equals(id) )
                return 145;
            if( "cfcreatedon".equals(id) )
                return 146;
            if( "labelby2".equals(id) )
                return 148;
            if( "link1".equals(id) )
                return 150;
            if( "inputrichtext2".equals(id) )
                return 154;
            if( "label11".equals(id) )
                return 157;
            return -1;
        }
        
        public UIComponent createComponent(int id, FacesContext context,
                UIComponent parent, PageExpressionEvaluator evaluator)
                throws NoSuchComponentException { 
            switch (id) {
            case 170:
                return createView(context, parent, evaluator);
            case 1:
                return createCfsubjectpanel(context, parent, evaluator);
            case 0:
                return createCfsubject(context, parent, evaluator);
            case 2:
                return createDjxmheading3(context, parent, evaluator);
            case 168:
                return createPanel(context, parent, evaluator);
            case 167:
                return createPanel2(context, parent, evaluator);
            case 100:
                return createDynamiccontent1(context, parent, evaluator);
            case 44:
                return createPanel12(context, parent, evaluator);
            case 43:
                return createTable(context, parent, evaluator);
            case 7:
                return createTr(context, parent, evaluator);
            case 4:
                return createTd(context, parent, evaluator);
            case 3:
                return createLabel16(context, parent, evaluator);
            case 6:
                return createTd2(context, parent, evaluator);
            case 5:
                return createInputtext4(context, parent, evaluator);
            case 13:
                return createTr2(context, parent, evaluator);
            case 9:
                return createTd3(context, parent, evaluator);
            case 8:
                return createLabel6(context, parent, evaluator);
            case 12:
                return createTd4(context, parent, evaluator);
            case 11:
                return createPanel1(context, parent, evaluator);
            case 10:
                return createComputedfield2(context, parent, evaluator);
            case 18:
                return createTr3(context, parent, evaluator);
            case 15:
                return createTd5(context, parent, evaluator);
            case 14:
                return createLabel7(context, parent, evaluator);
            case 17:
                return createTd6(context, parent, evaluator);
            case 16:
                return createInputtext1(context, parent, evaluator);
            case 24:
                return createTr4(context, parent, evaluator);
            case 20:
                return createTd7(context, parent, evaluator);
            case 19:
                return createLabel20(context, parent, evaluator);
            case 23:
                return createTd8(context, parent, evaluator);
            case 22:
                return createPanel13(context, parent, evaluator);
            case 21:
                return createComputedfield17(context, parent, evaluator);
            case 29:
                return createTr5(context, parent, evaluator);
            case 26:
                return createTd9(context, parent, evaluator);
            case 25:
                return createLabel21(context, parent, evaluator);
            case 28:
                return createTd10(context, parent, evaluator);
            case 27:
                return createRtbody(context, parent, evaluator);
            case 35:
                return createTr6(context, parent, evaluator);
            case 31:
                return createTd11(context, parent, evaluator);
            case 30:
                return createLabel22(context, parent, evaluator);
            case 34:
                return createTd12(context, parent, evaluator);
            case 33:
                return createPanel14(context, parent, evaluator);
            case 32:
                return createComputedfield18(context, parent, evaluator);
            case 42:
                return createTr7(context, parent, evaluator);
            case 41:
                return createTd13(context, parent, evaluator);
            case 37:
                return createButton8(context, parent, evaluator);
            case 36:
                return createEventhandler4(context, parent, evaluator);
            case 38:
                return createLabel2(context, parent, evaluator);
            case 40:
                return createButton9(context, parent, evaluator);
            case 39:
                return createEventhandler5(context, parent, evaluator);
            case 99:
                return createPanel7(context, parent, evaluator);
            case 96:
                return createTable2(context, parent, evaluator);
            case 56:
                return createTr8(context, parent, evaluator);
            case 55:
                return createTd14(context, parent, evaluator);
            case 45:
                return createLabeltags(context, parent, evaluator);
            case 46:
                return createTagfield(context, parent, evaluator);
            case 47:
                return createLabel4(context, parent, evaluator);
            case 48:
                return createLabelcreated(context, parent, evaluator);
            case 49:
                return createCfcreated(context, parent, evaluator);
            case 50:
                return createLabelby(context, parent, evaluator);
            case 51:
                return createAuthorlink(context, parent, evaluator);
            case 52:
                return createLabel1(context, parent, evaluator);
            case 53:
                return createLabelreplies(context, parent, evaluator);
            case 54:
                return createCfnumofreplies(context, parent, evaluator);
            case 60:
                return createTr9(context, parent, evaluator);
            case 59:
                return createTd15(context, parent, evaluator);
            case 58:
                return createDiv(context, parent, evaluator);
            case 57:
                return createLabel(context, parent, evaluator);
            case 68:
                return createTr10(context, parent, evaluator);
            case 67:
                return createTd16(context, parent, evaluator);
            case 65:
                return createDiv2(context, parent, evaluator);
            case 62:
                return createLink5(context, parent, evaluator);
            case 61:
                return createEventHandler(context, parent, evaluator);
            case 63:
                return createLabel12(context, parent, evaluator);
            case 64:
                return createInputtext2(context, parent, evaluator);
            case 66:
                return createHr(context, parent, evaluator);
            case 74:
                return createTr11(context, parent, evaluator);
            case 70:
                return createTd17(context, parent, evaluator);
            case 69:
                return createLabel8(context, parent, evaluator);
            case 73:
                return createTd18(context, parent, evaluator);
            case 72:
                return createPanel8(context, parent, evaluator);
            case 71:
                return createComputedfield7(context, parent, evaluator);
            case 77:
                return createTr12(context, parent, evaluator);
            case 76:
                return createTd19(context, parent, evaluator);
            case 75:
                return createLabel3(context, parent, evaluator);
            case 80:
                return createTr13(context, parent, evaluator);
            case 79:
                return createTd20(context, parent, evaluator);
            case 78:
                return createDiv3(context, parent, evaluator);
            case 83:
                return createTr14(context, parent, evaluator);
            case 82:
                return createTd21(context, parent, evaluator);
            case 81:
                return createComputedfield1(context, parent, evaluator);
            case 89:
                return createTr15(context, parent, evaluator);
            case 85:
                return createTd22(context, parent, evaluator);
            case 84:
                return createLabel10(context, parent, evaluator);
            case 88:
                return createTd23(context, parent, evaluator);
            case 87:
                return createPanel9(context, parent, evaluator);
            case 86:
                return createComputedfield16(context, parent, evaluator);
            case 95:
                return createTr16(context, parent, evaluator);
            case 91:
                return createTd24(context, parent, evaluator);
            case 90:
                return createHr2(context, parent, evaluator);
            case 94:
                return createTd25(context, parent, evaluator);
            case 93:
                return createPanel3(context, parent, evaluator);
            case 92:
                return createFiledownload2(context, parent, evaluator);
            case 97:
                return createMobile_005f_fileDownload(context, parent, evaluator);
            case 98:
                return createBr(context, parent, evaluator);
            case 111:
                return createPaneleditcontrol(context, parent, evaluator);
            case 102:
                return createReplybutton(context, parent, evaluator);
            case 101:
                return createEventHandler2(context, parent, evaluator);
            case 104:
                return createButtonedit2(context, parent, evaluator);
            case 103:
                return createEventHandler3(context, parent, evaluator);
            case 106:
                return createButtondelete(context, parent, evaluator);
            case 105:
                return createEventHandler6(context, parent, evaluator);
            case 108:
                return createButtonnavigateback(context, parent, evaluator);
            case 107:
                return createEventHandler7(context, parent, evaluator);
            case 109:
                return createBr2(context, parent, evaluator);
            case 110:
                return createBr3(context, parent, evaluator);
            case 113:
                return createPanel4(context, parent, evaluator);
            case 112:
                return createResponse(context, parent, evaluator);
            case 114:
                return createBr4(context, parent, evaluator);
            case 166:
                return createPanel5(context, parent, evaluator);
            case 139:
                return createTable3(context, parent, evaluator);
            case 138:
                return createTr17(context, parent, evaluator);
            case 137:
                return createTd26(context, parent, evaluator);
            case 136:
                return createPanel6(context, parent, evaluator);
            case 135:
                return createPanel10(context, parent, evaluator);
            case 119:
                return createPanel11(context, parent, evaluator);
            case 115:
                return createTopicicon(context, parent, evaluator);
            case 117:
                return createLabel28(context, parent, evaluator);
            case 116:
                return createEventHandler8(context, parent, evaluator);
            case 118:
                return createBr5(context, parent, evaluator);
            case 126:
                return createPanel15(context, parent, evaluator);
            case 120:
                return createLabel14(context, parent, evaluator);
            case 121:
                return createCftopiccreatedon(context, parent, evaluator);
            case 122:
                return createBr6(context, parent, evaluator);
            case 123:
                return createLabel5(context, parent, evaluator);
            case 125:
                return createLinktopicfrom(context, parent, evaluator);
            case 124:
                return createEventHandler9(context, parent, evaluator);
            case 127:
                return createBr7(context, parent, evaluator);
            case 128:
                return createBr8(context, parent, evaluator);
            case 134:
                return createPanel16(context, parent, evaluator);
            case 129:
                return createInputrichtext1(context, parent, evaluator);
            case 130:
                return createBr9(context, parent, evaluator);
            case 132:
                return createLabel9(context, parent, evaluator);
            case 131:
                return createEventHandler10(context, parent, evaluator);
            case 133:
                return createLink(context, parent, evaluator);
            case 165:
                return createRepeatlist(context, parent, evaluator);
            case 164:
                return createTable4(context, parent, evaluator);
            case 163:
                return createTr18(context, parent, evaluator);
            case 162:
                return createTd27(context, parent, evaluator);
            case 140:
                return createResponseimage(context, parent, evaluator);
            case 161:
                return createPanel17(context, parent, evaluator);
            case 160:
                return createPanel18(context, parent, evaluator);
            case 144:
                return createPanel19(context, parent, evaluator);
            case 142:
                return createLink2(context, parent, evaluator);
            case 141:
                return createEventHandler11(context, parent, evaluator);
            case 143:
                return createBr10(context, parent, evaluator);
            case 151:
                return createPanel20(context, parent, evaluator);
            case 145:
                return createLabelcreatedon(context, parent, evaluator);
            case 146:
                return createCfcreatedon(context, parent, evaluator);
            case 147:
                return createBr11(context, parent, evaluator);
            case 148:
                return createLabelby2(context, parent, evaluator);
            case 150:
                return createLink1(context, parent, evaluator);
            case 149:
                return createEventHandler12(context, parent, evaluator);
            case 152:
                return createBr12(context, parent, evaluator);
            case 153:
                return createBr13(context, parent, evaluator);
            case 159:
                return createPanel21(context, parent, evaluator);
            case 154:
                return createInputrichtext2(context, parent, evaluator);
            case 155:
                return createBr14(context, parent, evaluator);
            case 157:
                return createLabel11(context, parent, evaluator);
            case 156:
                return createEventHandler13(context, parent, evaluator);
            case 158:
                return createLink3(context, parent, evaluator);
            case 169:
                return createBr15(context, parent, evaluator);
            }
            throw new NoSuchComponentException(id);
        }
        
        protected void initIncluderAsRoot(FacesContext context,
                PageExpressionEvaluator evaluator, UIComponent root) {
            String sourceId = "/xp:view[1]/xp:this.beforePageLoad[1]/text()";
            MethodBinding beforePageLoad = evaluator.createMethodBinding(root,
                    "#{javascript:// only allow standalone documents to be deleted\nvar nd:NotesDocument = null;\nvar ndc:NotesDocumentCollection = null;\nvar responseCount = 0;\n\nif(null != dominoDoc){\n\tnd = dominoDoc.getDocument();\n\tndc = nd.getResponses();\n\tif(null != ndc){\n\t\tresponseCount = ndc.getCount();\n\t}\n}\n\nviewScope.responseCount = responseCount;\n}",
                    null,null, sourceId);
            FacesPageProvider asPageProvider = root instanceof FacesPageProvider ?
                    (FacesPageProvider) root : null;
            if( null != asPageProvider ){
                asPageProvider.setBeforePageLoad(beforePageLoad);
            }
            String sourceId2 = "/xp:view[1]/@enableModifiedFlag";
            String enableModifiedFlagExpr = "#{javascript:!isMobile()}";
            ValueBinding enableModifiedFlag = evaluator.createValueBinding(root, enableModifiedFlagExpr, sourceId2,boolean.class);
            root.setValueBinding("enableModifiedFlag", enableModifiedFlag);
            if( null != asPageProvider ){
                asPageProvider.setDojoParseOnLoad(true);
            }
            DominoDocumentData data = new DominoDocumentData();
            data.setComponent(root);
            String sourceId3 = "/xp:view[1]/xp:this.data[1]/xp:dominoDocument[1]/xp:this.querySaveDocument[1]/text()";
            MethodBinding querySaveDocument = evaluator.createMethodBinding(root,
                    "#{javascript:// store user CGI variables \nvar cgi = new CGIVariables();\ndominoDoc.replaceItemValue(\"Remote_User\", cgi.get(\"REMOTE_USER\"));\ndominoDoc.replaceItemValue(\"Remote_Addr\", cgi.get(\"REMOTE_ADDR\"));\ncgi = null;}",
                    null,null, sourceId3);
            data.setQuerySaveDocument(querySaveDocument);
            data.setComputeWithForm("onsave");
            String sourceId4 = "/xp:view[1]/xp:this.data[1]/xp:dominoDocument[1]/xp:this.postOpenDocument[1]/text()";
            MethodBinding postOpenDocument = evaluator.createMethodBinding(root,
                    "#{javascript:// get the main topic details...\nviewScope.mainUNID = dominoDoc.getItemValueString(\"mainID\");\nif(\"\" != viewScope.mainUNID){\n\tvar mainTopic:NotesDocument = null;\n\ttry{\n\t\t// try to locate parent topic...\n\t\tmainTopic = database.getDocumentByUNID(viewScope.mainUNID);\n\t\tif(null != mainTopic){\n\t\t\tviewScope.mainID = mainTopic.getNoteID();\n\t\t\tviewScope.mainSubject = mainTopic.getItemValueString(\"Subject\");\n\t\t\tviewScope.mainCreated = mainTopic.getCreated().toJavaDate();\n\t\t\tviewScope.mainFrom = mainTopic.getItemValueString(\"From\");\n\t\t\tviewScope.mainAbstract = mainTopic.getItemValueString(\"Abstract\");\n\t\t}\n\t}catch(e){\n\t\t// if non-existent, then use current document...\n\t\tmainTopic = dominoDoc;\n\t\tif(null != mainTopic){\n\t\t\tviewScope.mainID = mainTopic.getNoteID();\n\t\t\tviewScope.mainSubject = mainTopic.getItemValueString(\"Subject\");\n\t\t\tviewScope.mainCreated = mainTopic.getDocument().getCreated().toJavaDate();\n\t\t\tviewScope.mainFrom = mainTopic.getItemValueString(\"From\");\n\t\t\tviewScope.mainAbstract = mainTopic.getItemValueString(\"Abstract\");\n\t\t}\n\t}\n}}",
                    null,null, sourceId4);
            data.setPostOpenDocument(postOpenDocument);
            data.setAction("openDocument");
            data.setVar("dominoDoc");
            data.setFormName("MainTopic");
            FacesDataProvider asDataProvider = root instanceof FacesDataProvider ?
                    (FacesDataProvider) root : null;
            if( null != asDataProvider ){
                asDataProvider.addData(data);
            }
            DominoViewData data2 = new DominoViewData();
            data2.setComponent(root);
            data2.setViewName("xpAllDocuments");
            data2.setIgnoreRequestParams(true);
            String sourceId5 = "/xp:view[1]/xp:this.data[1]/xp:dominoView[1]/@parentId";
            String parentIdExpr = "#{javascript:viewScope.mainID}";
            ValueBinding parentId = evaluator.createValueBinding(root, parentIdExpr, sourceId5,String.class);
            data2.setValueBinding("parentId", parentId);
            data2.setVar("dominoView");
            data2.setDataCache("id");
            if( null != asDataProvider ){
                asDataProvider.addData(data2);
            }
        }

        private UIComponent createView(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIViewRootEx2 result = new UIViewRootEx2();
            initViewRoot(result);
            String sourceId = "/xp:view[1]/xp:this.beforePageLoad[1]/text()";
            MethodBinding beforePageLoad = evaluator.createMethodBinding(result,
                    "#{javascript:// only allow standalone documents to be deleted\nvar nd:NotesDocument = null;\nvar ndc:NotesDocumentCollection = null;\nvar responseCount = 0;\n\nif(null != dominoDoc){\n\tnd = dominoDoc.getDocument();\n\tndc = nd.getResponses();\n\tif(null != ndc){\n\t\tresponseCount = ndc.getCount();\n\t}\n}\n\nviewScope.responseCount = responseCount;\n}",
                    null,null, sourceId);
            result.setBeforePageLoad(beforePageLoad);
            String sourceId2 = "/xp:view[1]/@enableModifiedFlag";
            String enableModifiedFlagExpr = "#{javascript:!isMobile()}";
            ValueBinding enableModifiedFlag = evaluator.createValueBinding(result, enableModifiedFlagExpr, sourceId2,boolean.class);
            result.setValueBinding("enableModifiedFlag", enableModifiedFlag);
            result.setDojoParseOnLoad(true);
            DominoDocumentData data = new DominoDocumentData();
            data.setComponent(result);
            String sourceId3 = "/xp:view[1]/xp:this.data[1]/xp:dominoDocument[1]/xp:this.querySaveDocument[1]/text()";
            MethodBinding querySaveDocument = evaluator.createMethodBinding(result,
                    "#{javascript:// store user CGI variables \nvar cgi = new CGIVariables();\ndominoDoc.replaceItemValue(\"Remote_User\", cgi.get(\"REMOTE_USER\"));\ndominoDoc.replaceItemValue(\"Remote_Addr\", cgi.get(\"REMOTE_ADDR\"));\ncgi = null;}",
                    null,null, sourceId3);
            data.setQuerySaveDocument(querySaveDocument);
            data.setComputeWithForm("onsave");
            String sourceId4 = "/xp:view[1]/xp:this.data[1]/xp:dominoDocument[1]/xp:this.postOpenDocument[1]/text()";
            MethodBinding postOpenDocument = evaluator.createMethodBinding(result,
                    "#{javascript:// get the main topic details...\nviewScope.mainUNID = dominoDoc.getItemValueString(\"mainID\");\nif(\"\" != viewScope.mainUNID){\n\tvar mainTopic:NotesDocument = null;\n\ttry{\n\t\t// try to locate parent topic...\n\t\tmainTopic = database.getDocumentByUNID(viewScope.mainUNID);\n\t\tif(null != mainTopic){\n\t\t\tviewScope.mainID = mainTopic.getNoteID();\n\t\t\tviewScope.mainSubject = mainTopic.getItemValueString(\"Subject\");\n\t\t\tviewScope.mainCreated = mainTopic.getCreated().toJavaDate();\n\t\t\tviewScope.mainFrom = mainTopic.getItemValueString(\"From\");\n\t\t\tviewScope.mainAbstract = mainTopic.getItemValueString(\"Abstract\");\n\t\t}\n\t}catch(e){\n\t\t// if non-existent, then use current document...\n\t\tmainTopic = dominoDoc;\n\t\tif(null != mainTopic){\n\t\t\tviewScope.mainID = mainTopic.getNoteID();\n\t\t\tviewScope.mainSubject = mainTopic.getItemValueString(\"Subject\");\n\t\t\tviewScope.mainCreated = mainTopic.getDocument().getCreated().toJavaDate();\n\t\t\tviewScope.mainFrom = mainTopic.getItemValueString(\"From\");\n\t\t\tviewScope.mainAbstract = mainTopic.getItemValueString(\"Abstract\");\n\t\t}\n\t}\n}}",
                    null,null, sourceId4);
            data.setPostOpenDocument(postOpenDocument);
            data.setAction("openDocument");
            data.setVar("dominoDoc");
            data.setFormName("MainTopic");
            result.addData(data);
            DominoViewData data2 = new DominoViewData();
            data2.setComponent(result);
            data2.setViewName("xpAllDocuments");
            data2.setIgnoreRequestParams(true);
            String sourceId5 = "/xp:view[1]/xp:this.data[1]/xp:dominoView[1]/@parentId";
            String parentIdExpr = "#{javascript:viewScope.mainID}";
            ValueBinding parentId = evaluator.createValueBinding(result, parentIdExpr, sourceId5,String.class);
            data2.setValueBinding("parentId", parentId);
            data2.setVar("dominoView");
            data2.setDataCache("id");
            result.addData(data2);
            return result;
        }

        private UIComponent createCfsubjectpanel(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:!isMobile()}";
            String sourceId = "cfSubjectPanel/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            UIPanelEx result = new UIPanelEx();
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Panel.header");
            setId(result, "cfSubjectPanel");
            return result;
        }

        private UIComponent createCfsubject(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            String sourceId = "cfSubject/@value";
            String valueExpr = "#{dominoDoc.Subject}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.header.subtitle");
            setId(result, "cfSubject");
            return result;
        }

        private UIComponent createDjxmheading3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "djxmHeading3/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            UIDMHeading result = new UIDMHeading();
            result.setLabel("Document");
            result.setBack("Back");
            setId(result, "djxmHeading3");
            String sourceId2 = "djxmHeading3/xp:this.moveTo[1]/text()";
            String moveToExpr = "#{javascript:\n\t\t\tsessionScope.backURL = \"&action=openDocument\\u0026documentId=\"+currentDocument.getNoteID();\n\t\t\tif(null == sessionScope.from)\n\t\t\t\treturn \"allDocs\";\n\t\t\telse\n\t\t\t\treturn sessionScope.from;\n\t\t}";
            ValueBinding moveTo = evaluator.createValueBinding(result, moveToExpr, sourceId2,String.class);
            result.setValueBinding("moveTo", moveTo);
            return result;
        }

        private UIComponent createPanel(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            String sourceId = "/xp:view[1]/xp:panel[2]/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\tif(!isMobile())\n\t\t{\n\t\t\treturn \"border:1px solid #e5e5e5;\";\n\t\t}\n\t}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId,String.class);
            result.setValueBinding("style", style);
            return result;
        }

        private UIComponent createPanel2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            result.setStyleClass("xlMainTable");
            return result;
        }

        private UIComponent createDynamiccontent1(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIDynamicContent result = new UIDynamicContent();
            String sourceId = "dynamicContent1/xe:this.afterContentLoad[1]/text()";
            MethodBinding afterContentLoad = evaluator.createMethodBinding(result,
                    "#{javascript:\n\t\t\t\tvar nd:NotesDocument = null;\n\t\t\t\tvar ndc:NotesDocumentCollection = null;\n\t\t\t\tvar responseCount = 0;\n\n\t\t\t\tif(null != dominoDoc)\n\t\t\t\t{\n\t\t\t\t\tnd = dominoDoc.getDocument();\n\t\t\t\t\tndc = nd.getResponses();\n\t\t\t\t\tif(null != ndc)\n\t\t\t\t\t{\n\t\t\t\t\t\tresponseCount = ndc.getCount();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tviewScope.responseCount = responseCount;}",
                    null,null, sourceId);
            result.setAfterContentLoad(afterContentLoad);
            result.setDefaultFacet("viewContent2");
            setId(result, "dynamicContent1");
            return result;
        }

        private UIComponent createPanel12(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            setId(result, "panel12");
            return result;
        }

        private UIComponent createTable(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTable result = new XspTable();
            return result;
        }

        private UIComponent createTr(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabel16(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("Subject:");
            result.setFor("inputText4");
            setId(result, "label16");
            return result;
        }

        private UIComponent createTd2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createInputtext4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspInputText result = new XspInputText();
            String sourceId = "inputText4/@value";
            String valueExpr = "#{dominoDoc.Subject}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            setId(result, "inputText4");
            result.setRequired(true);
            return result;
        }

        private UIComponent createTr2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabel6(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("\u00a0");
            result.setFor("computedField17");
            setId(result, "label6");
            return result;
        }

        private UIComponent createTd4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createPanel1(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            setId(result, "panel1");
            return result;
        }

        private UIComponent createComputedfield2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            result.setValue("\u00a0");
            result.setEscape(false);
            setId(result, "computedField2");
            return result;
        }

        private UIComponent createTr3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            String sourceId = "panel12/xp:table[1]/xp:tr[3]/@rendered";
            String renderedExpr = "#{javascript:!dominoDoc.isResponse()}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            return result;
        }

        private UIComponent createTd5(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabel7(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("Tags:");
            result.setFor("inputText4");
            setId(result, "label7");
            return result;
        }

        private UIComponent createTd6(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createInputtext1(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspInputText result = new XspInputText();
            String sourceId = "inputText1/@value";
            String valueExpr = "#{dominoDoc.WebCategories}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            setId(result, "inputText1");
            result.setRequired(true);
            return result;
        }

        private UIComponent createTr4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd7(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabel20(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("\u00a0");
            result.setFor("computedField17");
            setId(result, "label20");
            return result;
        }

        private UIComponent createTd8(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createPanel13(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            setId(result, "panel13");
            return result;
        }

        private UIComponent createComputedfield17(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            result.setValue("\u00a0");
            result.setEscape(false);
            setId(result, "computedField17");
            return result;
        }

        private UIComponent createTr5(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd9(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            result.setValign("top");
            return result;
        }

        private UIComponent createLabel21(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("Content:");
            result.setFor("inputTextarea2");
            setId(result, "label21");
            return result;
        }

        private UIComponent createTd10(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createRtbody(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspInputRichText result = new XspInputRichText();
            String sourceId = "rtBody/@value";
            String valueExpr = "#{dominoDoc.Body}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            setId(result, "rtBody");
            return result;
        }

        private UIComponent createTr6(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd11(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabel22(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("\u00a0");
            result.setFor("computedField18");
            setId(result, "label22");
            return result;
        }

        private UIComponent createTd12(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createPanel14(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            setId(result, "panel14");
            return result;
        }

        private UIComponent createComputedfield18(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            result.setValue("\u00a0");
            result.setEscape(false);
            setId(result, "computedField18");
            return result;
        }

        private UIComponent createTr7(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd13(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            result.setColspan(2);
            return result;
        }

        private UIComponent createButton8(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspCommandButton result = new XspCommandButton();
            result.setValue("Save");
            result.setStyleClass("xlSmallButton");
            setId(result, "button8");
            return result;
        }

        private UIComponent createEventhandler4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            SaveDocumentAction actions = new SaveDocumentAction();
            actions.setComponent(result);
            actions.setSourceReferenceId("eventHandler4/xp:this.action[1]/xp:actionGroup[1]/xp:saveDocument[1]");
            action.addAction(actions);
            ExecuteScriptAction actions2 = new ExecuteScriptAction();
            actions2.setComponent(result);
            String sourceId = "eventHandler4/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]/xp:this.script[1]/text()";
            MethodBinding script = evaluator.createMethodBinding(result,
                    "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetComponent(\'panelEditControl\').setRendered(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetComponent(\'cfSubjectPanel\').setRendered(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}",
                    null,null, sourceId);
            actions2.setScript(script);
            actions2.setSourceReferenceId("eventHandler4/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]");
            action.addAction(actions2);
            ChangeDynamicContentAction actions3 = new ChangeDynamicContentAction();
            actions3.setComponent(result);
            actions3.setFacetName("viewContent2");
            actions3.setFor("dynamicContent1");
            actions3.setSourceReferenceId("eventHandler4/xp:this.action[1]/xp:actionGroup[1]/xe:changeDynamicContentAction[1]");
            action.addAction(actions3);
            action.setSourceReferenceId("eventHandler4/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            setId(result, "eventHandler4");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createLabel2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("\u00a0\u00a0");
            result.setFor("button9");
            setId(result, "label2");
            return result;
        }

        private UIComponent createButton9(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspCommandButton result = new XspCommandButton();
            result.setValue("Cancel");
            result.setStyleClass("xlSmallButton");
            setId(result, "button9");
            return result;
        }

        private UIComponent createEventhandler5(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            ExecuteScriptAction actions = new ExecuteScriptAction();
            actions.setComponent(result);
            String sourceId = "eventHandler5/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]/xp:this.script[1]/text()";
            MethodBinding script = evaluator.createMethodBinding(result,
                    "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetComponent(\'panelEditControl\').setRendered(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgetComponent(\'cfSubjectPanel\').setRendered(true);\n\t\t\t\t\t\t\t\t\t\t\t\t\t}",
                    null,null, sourceId);
            actions.setScript(script);
            actions.setSourceReferenceId("eventHandler5/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]");
            action.addAction(actions);
            ChangeDynamicContentAction actions2 = new ChangeDynamicContentAction();
            actions2.setComponent(result);
            actions2.setFacetName("viewContent2");
            actions2.setFor("dynamicContent1");
            actions2.setSourceReferenceId("eventHandler5/xp:this.action[1]/xp:actionGroup[1]/xe:changeDynamicContentAction[1]");
            action.addAction(actions2);
            action.setSourceReferenceId("eventHandler5/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            setId(result, "eventHandler5");
            result.setSave(false);
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createPanel7(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            setId(result, "panel7");
            return result;
        }

        private UIComponent createTable2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTable result = new XspTable();
            result.setStyleClass("xlThreadTable");
            return result;
        }

        private UIComponent createTr8(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:!isMobile()}";
            String sourceId = "panel7/xp:table[1]/xp:tr[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd14(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabeltags(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("Tags: ");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.generic");
            result.setFor("tagField");
            setId(result, "labelTags");
            return result;
        }

        private UIComponent createTagfield(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspInputText result = new XspInputText();
            String sourceId = "tagField/@value";
            String valueExpr = "#{dominoDoc.WebCategories}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setReadonly(true);
            result.setMultipleSeparator(",");
            result.setStyleClass("topicThreadCategories");
            setId(result, "tagField");
            return result;
        }

        private UIComponent createLabel4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("|");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Text.largeSeparator");
            String sourceId = "label4/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:(dominoDoc.getItemValueString(\"WebCategories\") != \"\" || dominoDoc.getItemValueString(\"Categories\") != \"\") && !dominoDoc.isEditable()}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            result.setFor("labelCreated");
            setId(result, "label4");
            return result;
        }

        private UIComponent createLabelcreated(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue(" Created on ");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.generic");
            result.setFor("cfCreated");
            setId(result, "labelCreated");
            return result;
        }

        private UIComponent createCfcreated(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            DateTimeConverter converter = new DateTimeConverter();
            converter.setDateStyle("medium");
            converter.setTimeStyle("short");
            converter.setType("both");
            result.setConverter(converter);
            String sourceId = "cfCreated/@value";
            String valueExpr = "#{javascript:dominoDoc.getDocument().getCreated().toJavaDate()}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.meta");
            setId(result, "cfCreated");
            return result;
        }

        private UIComponent createLabelby(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue(" by ");
            result.setFor("authorLink");
            setId(result, "labelBy");
            return result;
        }

        private UIComponent createAuthorlink(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLink result = new XspOutputLink();
            result.setValue("/authorProfile.xsp");
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Link.person");
            Parameter parameters = new Parameter();
            parameters.setComponent(result);
            String sourceId = "authorLink/xp:this.parameters[1]/xp:parameter[1]/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:dominoDoc.getItemValueString(\"AbbreviateFrom\")}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,String.class);
            parameters.setValueBinding("value", value);
            parameters.setName("lookupName");
            result.addParameter(parameters);
            setId(result, "authorLink");
            String sourceId2 = "authorLink/xp:this.text[1]/text()";
            String textExpr = "#{javascript:dominoDoc.getItemValueString(\"AbbreviateFrom\")}";
            ValueBinding text = evaluator.createValueBinding(result, textExpr, sourceId2,String.class);
            result.setValueBinding("text", text);
            return result;
        }

        private UIComponent createLabel1(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("|");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Text.largeSeparator");
            result.setFor("labelReplies");
            setId(result, "label1");
            return result;
        }

        private UIComponent createLabelreplies(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("Topic Responses: ");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.generic");
            result.setFor("cfNumOfReplies");
            setId(result, "labelReplies");
            return result;
        }

        private UIComponent createCfnumofreplies(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            String sourceId = "cfNumOfReplies/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:var r=getComponent(\"repeatList\");\n\t\t\t\t\t\t\t\t\treturn r.getRowCount().toString()}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.generic");
            setId(result, "cfNumOfReplies");
            return result;
        }

        private UIComponent createTr9(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "panel7/xp:table[1]/xp:tr[2]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd15(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createDiv(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("div");
            component.addAttribute("styleClass", "topicSubject");
            return component;
        }

        private UIComponent createLabel(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            String sourceId = "panel7/xp:table[1]/xp:tr[2]/xp:td[1]/div[1]/xp:label[1]/@value";
            String valueExpr = "#{dominoDoc.Subject}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setStyleClass("mblThreadDivText");
            result.setFor("computedField6");
            return result;
        }

        private UIComponent createTr10(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "panel7/xp:table[1]/xp:tr[3]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd16(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createDiv2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspDiv result = new XspDiv();
            result.setStyleClass("mblThreadDiv");
            return result;
        }

        private UIComponent createLink5(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLink result = new XspOutputLink();
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Link.person");
            result.setStyleClass("xlTopicThreadLinkFont");
            setId(result, "link5");
            String sourceId = "link5/xp:this.text[1]/text()";
            String textExpr = "#{javascript:dominoDoc.getItemValueString(\"AbbreviateFrom\")}";
            ValueBinding text = evaluator.createValueBinding(result, textExpr, sourceId,String.class);
            result.setValueBinding("text", text);
            return result;
        }

        private UIComponent createEventHandler(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            MoveToAction action = new MoveToAction();
            action.setComponent(result);
            String sourceId = "link5/xp:eventHandler[1]/xp:this.action[1]/xe:moveTo[1]/@targetPage";
            String targetPageExpr = "authorProfile&lookupName=#{javascript:viewScope.mainFrom}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId,String.class);
            action.setValueBinding("targetPage", targetPage);
            action.setForceFullRefresh(true);
            action.setTransitionType("slide");
            action.setDirection("Left to Right");
            action.setSourceReferenceId("link5/xp:eventHandler[1]/xp:this.action[1]/xe:moveTo[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createLabel12(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(dominoDoc.getItemValueString(\'WebCategories\'))\n\t\t\t\t\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\t}";
            String sourceId = "label12/xp:this.loaded[1]/text()";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspOutputLabel result = new XspOutputLabel();
            result.setValue(" | ");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Text.largeSeparator");
            result.setFor("inputText2");
            setId(result, "label12");
            return result;
        }

        private UIComponent createInputtext2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(dominoDoc.getItemValueString(\'WebCategories\'))\n\t\t\t\t\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t\t}";
            String sourceId = "inputText2/xp:this.loaded[1]/text()";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspInputText result = new XspInputText();
            String sourceId2 = "inputText2/@value";
            String valueExpr = "#{dominoDoc.WebCategories}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId2,Object.class);
            result.setValueBinding("value", value);
            result.setReadonly(true);
            result.setMultipleSeparator(",");
            result.setStyleClass("topicThreadCategories");
            setId(result, "inputText2");
            return result;
        }

        private UIComponent createHr(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("hr");
            return component;
        }

        private UIComponent createTr11(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "panel7/xp:table[1]/xp:tr[4]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd17(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabel8(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("\u00a0");
            result.setFor("computedField7");
            setId(result, "label8");
            return result;
        }

        private UIComponent createTd18(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createPanel8(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            setId(result, "panel8");
            return result;
        }

        private UIComponent createComputedfield7(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            result.setValue("\u00a0");
            result.setEscape(false);
            setId(result, "computedField7");
            return result;
        }

        private UIComponent createTr12(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd19(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            result.setStyle("display:none");
            result.setValign("top");
            return result;
        }

        private UIComponent createLabel3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            String sourceId = "label3/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\tvar url = \"&action=openDocument&documentId=\";\n\t\t\t\t\t\t\t\t\t\turl += dominoDoc.getNoteID();\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\tsessionScope.backURL =  url;\n\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setStyle("display:none");
            result.setStyleClass("labelContent");
            result.setFor("content");
            setId(result, "label3");
            return result;
        }

        private UIComponent createTr13(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "panel7/xp:table[1]/xp:tr[6]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd20(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            result.setColspan(2);
            return result;
        }

        private UIComponent createDiv3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("div");
            String sourceId = "largeContentDiv/@content";
            String contentExpr = "#{dominoDoc.Body}";
            ValueBinding value = evaluator.createValueBinding(component, contentExpr, sourceId,Object.class);
            component.addAttribute("content", value);
            component.addAttribute("dojoType", "xsp.largeContent");
            component.addAttribute("editButton", ".editButton");
            component.addAttribute("from", "document");
            component.addAttribute("id", "largeContentDiv");
            String sourceId2 = "largeContentDiv/@url";
            String urlExpr = "largeContent#{sessionScope.backURL}";
            ValueBinding value2 = evaluator.createValueBinding(component, urlExpr, sourceId2,Object.class);
            component.addAttribute("url", value2);
            return component;
        }

        private UIComponent createTr14(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:!isMobile()}";
            String sourceId = "panel7/xp:table[1]/xp:tr[7]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd21(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            result.setStyleClass("xlThreadBody");
            result.setColspan(2);
            return result;
        }

        private UIComponent createComputedfield1(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            String sourceId = "computedField1/@value";
            String valueExpr = "#{dominoDoc.Body}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(false);
            setId(result, "computedField1");
            return result;
        }

        private UIComponent createTr15(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd22(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createLabel10(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("\u00a0");
            result.setFor("computedField16");
            setId(result, "label10");
            return result;
        }

        private UIComponent createTd23(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createPanel9(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            setId(result, "panel9");
            return result;
        }

        private UIComponent createComputedfield16(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            result.setValue("\u00a0");
            result.setEscape(false);
            setId(result, "computedField16");
            return result;
        }

        private UIComponent createTr16(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd24(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createHr2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("hr");
            return component;
        }

        private UIComponent createTd25(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            return result;
        }

        private UIComponent createPanel3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:!isMobile()}";
            String sourceId = "panel7/xp:table[1]/xp:tr[9]/xp:td[2]/xp:panel[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            UIPanelEx result = new UIPanelEx();
            return result;
        }

        private UIComponent createFiledownload2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspFileDownload result = new XspFileDownload();
            String sourceId = "fileDownload2/@value";
            String valueExpr = "#{dominoDoc.Body}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setDisplayLastModified(false);
            result.setAllowDelete(true);
            result.setStyleClass("mainTopicDownload");
            result.setRows(30);
            setId(result, "fileDownload2");
            result.setHideWhen(true);
            return result;
        }

        private UIComponent createMobile_005f_fileDownload(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "panel7/xc:mobile_fileDownload[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            String resultPage = "/mobile_fileDownload.xsp";
            UIIncludeComposite result = new UIIncludeComposite();
            result.setPageDriver(getPageParam().getPageDriver());
            result.setPageName(resultPage);
            PropertyMap propertyMap = result.getPropertyMap();
            String sourceId2 = "panel7/xc:mobile_fileDownload[1]/@value";
            String valueExpr = "#{dominoDoc}";
            propertyMap.setProperty("value", evaluator.createValueBinding(result, valueExpr, sourceId2,String.class));
            return result;
        }

        private UIComponent createBr(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createPaneleditcontrol(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:\n\t\t\t\tif(param.parentNoteID == null)\n\t\t\t\t{return true;}\n\t\t\t\telse\n\t\t\t\t{false;}\n\t\t\t}";
            String sourceId = "panelEditControl/xp:this.loaded[1]/text()";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            UIPanelEx result = new UIPanelEx();
            String sourceId2 = "panelEditControl/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\tif(!isMobile())\n\t\t\t\t\t{\n\t\t\t\t\t\treturn \"padding-left:40px;\";\n\t\t\t\t\t}\n\t\t\t}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId2,String.class);
            result.setValueBinding("style", style);
            String sourceId3 = "panelEditControl/xp:this.styleClass[1]/text()";
            String styleClassExpr = "#{javascript:\n\t\t\t\tif(isMobile())\n\t\t\t\t{\n\t\t\t\t\treturn \"xlFormFooterContainer\";\n\t\t\t\t}\n\t\t\t}";
            ValueBinding styleClass = evaluator.createValueBinding(result, styleClassExpr, sourceId3,String.class);
            result.setValueBinding("styleClass", styleClass);
            setId(result, "panelEditControl");
            return result;
        }

        private UIComponent createReplybutton(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspCommandButton result = new XspCommandButton();
            result.setValue("Reply");
            String sourceId = "replyButton/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:userBean.canCreateDocs}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            String sourceId2 = "replyButton/xp:this.styleClass[1]/text()";
            String styleClassExpr = "#{javascript:\n\t\t\t\t\tif(isMobile())\n\t\t\t\t\t{\n\t\t\t\t\t\treturn \"mblSmallFormFooterButton\";\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\treturn \"smallButton\";\n\t\t\t\t\t}\n\t\t\t\t}";
            ValueBinding styleClass = evaluator.createValueBinding(result, styleClassExpr, sourceId2,String.class);
            result.setValueBinding("styleClass", styleClass);
            setId(result, "replyButton");
            return result;
        }

        private UIComponent createEventHandler2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            ActionGroup actions = new ActionGroup();
            actions.setComponent(result);
            String sourceId = "replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/@condition";
            String conditionExpr = "#{javascript:isMobile()}";
            ValueBinding condition = evaluator.createValueBinding(result, conditionExpr, sourceId,boolean.class);
            actions.setValueBinding("condition", condition);
            MoveToAction actions2 = new MoveToAction();
            actions2.setComponent(result);
            String sourceId2 = "replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/xe:moveTo[1]/xp:this.targetPage[1]/text()";
            String targetPageExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tvar page = \"replyThread&action=openDocument&documentId=\";\n\t\t\t\t\t\t\t\t\t\t\tpage += dominoDoc.getNoteID();\n\t\t\t\t\t\t\t\t\t\t\tpage += \"&parentNoteID=\";\n\t\t\t\t\t\t\t\t\t\t\tpage += dominoDoc.getNoteID();\n\t\t\t\t\t\t\t\t\t\t\treturn page;\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId2,String.class);
            actions2.setValueBinding("targetPage", targetPage);
            actions2.setForceFullRefresh(true);
            actions2.setTransitionType("slide");
            actions2.setDirection("Left to Right");
            actions2.setSourceReferenceId("replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/xe:moveTo[1]");
            actions.addAction(actions2);
            actions.setSourceReferenceId("replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]");
            action.addAction(actions);
            ActionGroup actions3 = new ActionGroup();
            actions3.setComponent(result);
            String sourceId3 = "replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/@condition";
            String conditionExpr2 = "#{javascript:!isMobile()}";
            ValueBinding condition2 = evaluator.createValueBinding(result, conditionExpr2, sourceId3,boolean.class);
            actions3.setValueBinding("condition", condition2);
            OpenPageAction actions4 = new OpenPageAction();
            actions4.setComponent(result);
            String sourceId4 = "replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/xp:openPage[1]/xp:this.name[1]/text()";
            String nameExpr = "#{javascript:\"/topicThread.xsp?action=openDocument&documentId=\"+dominoDoc.getNoteID()+\"&parentNoteID=\" + dominoDoc.getNoteID()+\"#commentForm\"}";
            ValueBinding name = evaluator.createValueBinding(result, nameExpr, sourceId4,String.class);
            actions4.setValueBinding("name", name);
            actions4.setSourceReferenceId("replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/xp:openPage[1]");
            actions3.addAction(actions4);
            actions3.setSourceReferenceId("replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]");
            action.addAction(actions3);
            action.setSourceReferenceId("replyButton/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createButtonedit2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspCommandButton result = new XspCommandButton();
            result.setValue("Edit");
            String sourceId = "buttonEdit2/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:\t\n\t\t\t\t\t\t(userBean.accessLevel >= lotus.domino.ACL.LEVEL_EDITOR) && userBean.canCreateDocs && dominoDoc.getItemValueString(\"From\") === userBean.canonicalName && !isMobile()\n\t\t\t\t\t}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            result.setStyleClass("xlEditButton");
            setId(result, "buttonEdit2");
            return result;
        }

        private UIComponent createEventHandler3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            ChangeDocumentModeAction actions = new ChangeDocumentModeAction();
            actions.setComponent(result);
            actions.setMode("edit");
            actions.setVar("dominoDoc");
            actions.setSourceReferenceId("buttonEdit2/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:changeDocumentMode[1]");
            action.addAction(actions);
            ExecuteScriptAction actions2 = new ExecuteScriptAction();
            actions2.setComponent(result);
            String sourceId = "buttonEdit2/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]/xp:this.script[1]/text()";
            MethodBinding script = evaluator.createMethodBinding(result,
                    "#{javascript:\n\t\t\t\t\t\t\t\t\t\tgetComponent(\'panelEditControl\').setRendered(false);\n\t\t\t\t\t\t\t\t\t\tgetComponent(\'cfSubjectPanel\').setRendered(false);\n\t\t\t\t\t\t\t\t\t}",
                    null,null, sourceId);
            actions2.setScript(script);
            actions2.setSourceReferenceId("buttonEdit2/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]");
            action.addAction(actions2);
            ChangeDynamicContentAction actions3 = new ChangeDynamicContentAction();
            actions3.setComponent(result);
            actions3.setFacetName("editCon2");
            actions3.setFor("dynamicContent1");
            actions3.setSourceReferenceId("buttonEdit2/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:changeDynamicContentAction[1]");
            action.addAction(actions3);
            action.setSourceReferenceId("buttonEdit2/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createButtondelete(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspCommandButton result = new XspCommandButton();
            String sourceId = "buttonDelete/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\tif(isMobile())\n\t\t\t\t\t{\n\t\t\t\t\t\t\"float:right\";\n\t\t\t\t\t}\n\t\t\t\t}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId,String.class);
            result.setValueBinding("style", style);
            result.setValue("Delete");
            String sourceId2 = "buttonDelete/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:\n\t\t\t\t\tvar editor = userBean.accessLevel >= lotus.domino.ACL.LEVEL_EDITOR;\n\t\t\t\t\tvar canDelete = userBean.accessLevel >= lotus.domino.Database.DBACL_DELETE_DOCS;\n\t\t\t\t\tvar canCreate = userBean.canCreateDocs;\n\t\t\t\t\tvar isUser = dominoDoc.getItemValueString(\"From\") === userBean.canonicalName;\n\t\t\t\t\t\n\t\t\t\t\tif((editor || isUser) && canDelete && viewScope.responseCount == 0)\n\t\t\t\t\t{\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\t\t}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId2,boolean.class);
            result.setValueBinding("rendered", rendered);
            String sourceId3 = "buttonDelete/xp:this.styleClass[1]/text()";
            String styleClassExpr = "#{javascript:\n\t\t\t\t\tif(isMobile())\n\t\t\t\t\t{\n\t\t\t\t\t\treturn \"mblSmallFormFooterButton\";\n\t\t\t\t\t}\n\t\t\t\t\telse\n\t\t\t\t\t{\n\t\t\t\t\t\treturn \"xlDeleteButton\";\n\t\t\t\t\t}\n\t\t\t\t}";
            ValueBinding styleClass = evaluator.createValueBinding(result, styleClassExpr, sourceId3,String.class);
            result.setValueBinding("styleClass", styleClass);
            setId(result, "buttonDelete");
            return result;
        }

        private UIComponent createEventHandler6(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            ActionGroup actions = new ActionGroup();
            actions.setComponent(result);
            String sourceId = "buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/@condition";
            String conditionExpr = "#{javascript:!isMobile()}";
            ValueBinding condition = evaluator.createValueBinding(result, conditionExpr, sourceId,boolean.class);
            actions.setValueBinding("condition", condition);
            ConfirmAction actions2 = new ConfirmAction();
            actions2.setComponent(result);
            actions2.setMessage("Are you sure you want to delete this topic?");
            actions2.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/xp:confirm[1]");
            actions.addAction(actions2);
            ExecuteScriptAction actions3 = new ExecuteScriptAction();
            actions3.setComponent(result);
            String sourceId2 = "buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/xp:executeScript[1]/xp:this.script[1]/text()";
            MethodBinding script = evaluator.createMethodBinding(result,
                    "#{javascript:var doc:NotesDocument=dominoDoc.getDocument();doc.remove(true);}",
                    null,null, sourceId2);
            actions3.setScript(script);
            actions3.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/xp:executeScript[1]");
            actions.addAction(actions3);
            OpenPageAction actions4 = new OpenPageAction();
            actions4.setComponent(result);
            actions4.setName("/allDocuments.xsp");
            actions4.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]/xp:openPage[1]");
            actions.addAction(actions4);
            actions.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[1]");
            action.addAction(actions);
            ActionGroup actions5 = new ActionGroup();
            actions5.setComponent(result);
            String sourceId3 = "buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/@condition";
            String conditionExpr2 = "#{javascript:isMobile()}";
            ValueBinding condition2 = evaluator.createValueBinding(result, conditionExpr2, sourceId3,boolean.class);
            actions5.setValueBinding("condition", condition2);
            ConfirmAction actions6 = new ConfirmAction();
            actions6.setComponent(result);
            actions6.setMessage("Are you sure you want to delete this topic?");
            actions6.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/xp:confirm[1]");
            actions5.addAction(actions6);
            ExecuteScriptAction actions7 = new ExecuteScriptAction();
            actions7.setComponent(result);
            String sourceId4 = "buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/xp:executeScript[1]/xp:this.script[1]/text()";
            MethodBinding script2 = evaluator.createMethodBinding(result,
                    "#{javascript:var doc:NotesDocument=dominoDoc.getDocument();doc.remove(true);}",
                    null,null, sourceId4);
            actions7.setScript(script2);
            actions7.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/xp:executeScript[1]");
            actions5.addAction(actions7);
            MoveToAction actions8 = new MoveToAction();
            actions8.setComponent(result);
            String sourceId5 = "buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/xe:moveTo[1]/@targetPage";
            String targetPageExpr = "#{javascript:sessionScope.from}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId5,String.class);
            actions8.setValueBinding("targetPage", targetPage);
            actions8.setForceFullRefresh(true);
            actions8.setTransitionType("slide");
            actions8.setDirection("Left to Right");
            actions8.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]/xe:moveTo[1]");
            actions5.addAction(actions8);
            actions5.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:actionGroup[2]");
            action.addAction(actions5);
            action.setSourceReferenceId("buttonDelete/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createButtonnavigateback(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:\n\t\t\t\tif(viewScope.nt != \'2\' && !isMobile())\n\t\t\t\t{return true;}\n\t\t\t\telse\n\t\t\t\t{return false;}\n\t\t\t}";
            String sourceId = "buttonNavigateBack/xp:this.loaded[1]/text()";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspOutputLink result = new XspOutputLink();
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Link.action");
            String sourceId2 = "buttonNavigateBack/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:sessionScope.historyPageName != null}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId2,boolean.class);
            result.setValueBinding("rendered", rendered);
            result.setRole("button");
            setId(result, "buttonNavigateBack");
            String sourceId3 = "buttonNavigateBack/xp:this.text[1]/text()";
            String textExpr = "#{javascript:var translatedLabel = res.getString(\"back.label\");\n\t\t\t\ttranslatedLabel + \" \" + sessionScope.historyPageTitle;}";
            ValueBinding text = evaluator.createValueBinding(result, textExpr, sourceId3,String.class);
            result.setValueBinding("text", text);
            return result;
        }

        private UIComponent createEventHandler7(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            result.setExecMode("partial");
            OpenPageAction action = new OpenPageAction();
            action.setComponent(result);
            String sourceId = "buttonNavigateBack/xp:eventHandler[1]/xp:this.action[1]/xp:openPage[1]/xp:this.name[1]/text()";
            String nameExpr = "#{javascript:sessionScope.historyPageName}";
            ValueBinding name = evaluator.createValueBinding(result, nameExpr, sourceId,String.class);
            action.setValueBinding("name", name);
            action.setSourceReferenceId("buttonNavigateBack/xp:eventHandler[1]/xp:this.action[1]/xp:openPage[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createBr2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createBr3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createPanel4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            return result;
        }

        private UIComponent createResponse(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:\n\t\t\t\tif(param.parentNoteID != null && !isMobile())\n\t\t\t\t{return true;}\n\t\t\t\telse\n\t\t\t\t{false;}\n\t\t\t}";
            String sourceId = "response/xp:this.loaded[1]/text()";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            String resultPage = "/response.xsp";
            UIIncludeComposite result = new UIIncludeComposite();
            result.setPageDriver(getPageParam().getPageDriver());
            result.setPageName(resultPage);
            PropertyMap propertyMap = result.getPropertyMap();
            propertyMap.setProperty("gotoPage", "/topicThread.xsp");
            setId(result, "response");
            return result;
        }

        private UIComponent createBr4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createPanel5(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            String sourceId = "/xp:view[1]/xp:panel[2]/xp:panel[1]/xp:panel[3]/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:getComponent(\"repeatList\").getRowCount()>0}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            return result;
        }

        private UIComponent createTable3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTable result = new XspTable();
            result.setStyleClass("xlReplyTable");
            return result;
        }

        private UIComponent createTr17(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd26(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            String sourceId = "/xp:view[1]/xp:panel[2]/xp:panel[1]/xp:panel[3]/xp:table[1]/xp:tr[1]/xp:td[1]/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:getComponent(\"repeatList\").getRowCount()>0}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            result.setStyleClass("xlReplyBorder");
            return result;
        }

        private UIComponent createPanel6(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            result.setReadonly(true);
            return result;
        }

        private UIComponent createPanel10(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            String sourceId = "/xp:view[1]/xp:panel[2]/xp:panel[1]/xp:panel[3]/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\tif(viewScope.mainID == dominoDoc.getNoteID())\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\treturn \"background-color:#ffffc8 !important;\";\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\treturn \"background-color: #F7F9FC;\";\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId,String.class);
            result.setValueBinding("style", style);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Panel.topicThread");
            return result;
        }

        private UIComponent createPanel11(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Panel.noWrap");
            return result;
        }

        private UIComponent createTopicicon(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspGraphicImage result = new XspGraphicImage();
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Image.file");
            result.setTitle("Main Topic");
            result.setAlt("Main Topic");
            setId(result, "TopicIcon");
            result.setUrl("/xpPageIcon.gif");
            return result;
        }

        private UIComponent createLabel28(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLink result = new XspOutputLink();
            String sourceId = "label28/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(isMobile)\n\t\t\t\t\t\t\t\t\t\t\t\t\"font-size:16px; font-weight:bold;\";\n\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\"font-size:20px; font-weight:bold;\";\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId,String.class);
            result.setValueBinding("style", style);
            String sourceId2 = "label28/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(!isMobile())\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\treturn \"topicThread.xsp?documentId=\" + viewScope.mainID;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId2,Object.class);
            result.setValueBinding("value", value);
            setId(result, "label28");
            String sourceId3 = "label28/@text";
            String textExpr = "#{javascript:viewScope.mainSubject}";
            ValueBinding text = evaluator.createValueBinding(result, textExpr, sourceId3,String.class);
            result.setValueBinding("text", text);
            return result;
        }

        private UIComponent createEventHandler8(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "label28/xp:eventHandler[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            MoveToAction actions = new MoveToAction();
            actions.setComponent(result);
            String sourceId2 = "label28/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]/@targetPage";
            String targetPageExpr = "document&documentId=#{javascript:viewScope.mainID}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId2,String.class);
            actions.setValueBinding("targetPage", targetPage);
            actions.setForceFullRefresh(true);
            actions.setTransitionType("slide");
            actions.setDirection("Left to Right");
            actions.setSourceReferenceId("label28/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]");
            action.addAction(actions);
            action.setSourceReferenceId("label28/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createBr5(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("br");
            return component;
        }

        private UIComponent createPanel15(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            return result;
        }

        private UIComponent createLabel14(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue(" Created on ");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.generic");
            result.setStyleClass("mblDetailTextBold");
            result.setFor("cfTopicCreatedOn");
            setId(result, "label14");
            return result;
        }

        private UIComponent createCftopiccreatedon(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            DateTimeConverter converter = new DateTimeConverter();
            converter.setDateStyle("medium");
            converter.setTimeStyle("short");
            converter.setType("both");
            result.setConverter(converter);
            String sourceId = "cfTopicCreatedOn/@value";
            String valueExpr = "#{javascript:viewScope.mainCreated}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.meta");
            result.setStyleClass("mblDetailTextNormal");
            setId(result, "cfTopicCreatedOn");
            return result;
        }

        private UIComponent createBr6(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("br");
            return component;
        }

        private UIComponent createLabel5(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue(" by ");
            result.setStyleClass("mblDetailTextBold");
            result.setFor("linkTopicFrom");
            setId(result, "label5");
            return result;
        }

        private UIComponent createLinktopicfrom(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLink result = new XspOutputLink();
            String sourceId = "linkTopicFrom/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(!isMobile())\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\treturn \"authorProfile.xsp\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Link.person");
            result.setStyleClass("mblDetailTextNormal");
            Parameter parameters = new Parameter();
            parameters.setComponent(result);
            String sourceId2 = "linkTopicFrom/xp:this.parameters[1]/xp:parameter[1]/@value";
            String valueExpr2 = "#{javascript:viewScope.mainFrom}";
            ValueBinding value2 = evaluator.createValueBinding(result, valueExpr2, sourceId2,String.class);
            parameters.setValueBinding("value", value2);
            parameters.setName("lookupName");
            result.addParameter(parameters);
            setId(result, "linkTopicFrom");
            String sourceId3 = "linkTopicFrom/xp:this.text[1]/text()";
            String textExpr = "#{javascript:@Name(\"[CN]\", viewScope.mainFrom)}";
            ValueBinding text = evaluator.createValueBinding(result, textExpr, sourceId3,String.class);
            result.setValueBinding("text", text);
            return result;
        }

        private UIComponent createEventHandler9(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "linkTopicFrom/xp:eventHandler[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            ExecuteScriptAction actions = new ExecuteScriptAction();
            actions.setComponent(result);
            String sourceId2 = "linkTopicFrom/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]/xp:this.script[1]/text()";
            MethodBinding script = evaluator.createMethodBinding(result,
                    "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsessionScope.from = \"document&documentId=\" + viewScope.mainUNID;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}",
                    null,null, sourceId2);
            actions.setScript(script);
            actions.setSourceReferenceId("linkTopicFrom/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]");
            action.addAction(actions);
            MoveToAction actions2 = new MoveToAction();
            actions2.setComponent(result);
            String sourceId3 = "linkTopicFrom/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]/@targetPage";
            String targetPageExpr = "authorProfile&lookupName=#{javascript:viewScope.mainFrom}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId3,String.class);
            actions2.setValueBinding("targetPage", targetPage);
            actions2.setForceFullRefresh(true);
            actions2.setTransitionType("slide");
            actions2.setDirection("Left to Right");
            actions2.setSourceReferenceId("linkTopicFrom/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]");
            action.addAction(actions2);
            action.setSourceReferenceId("linkTopicFrom/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createBr7(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createBr8(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createPanel16(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            String sourceId = "/xp:view[1]/xp:panel[2]/xp:panel[1]/xp:panel[3]/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[3]/@rendered";
            String renderedExpr = "#{javascript:viewScope.mainID != dominoDoc.getNoteID()}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            return result;
        }

        private UIComponent createInputrichtext1(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspInputRichText result = new XspInputRichText();
            String sourceId = "inputRichText1/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t//sessionScope.from = \"document&documentId=\" + viewScope.mainUNID;\n\t\t\t\t\t\t\t\t\t\t\tviewScope.mainAbstract;\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setStyle("background-color: #F7F9FC;");
            result.setReadonly(true);
            result.setStyleClass("mblThreadRichText");
            setId(result, "inputRichText1");
            return result;
        }

        private UIComponent createBr9(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createLabel9(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "label9/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("Read More...");
            result.setRole("button");
            result.setStyleClass("xlTopicReadMore");
            setId(result, "label9");
            return result;
        }

        private UIComponent createEventHandler10(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            MoveToAction action = new MoveToAction();
            action.setComponent(result);
            String sourceId = "label9/xp:eventHandler[1]/xp:this.action[1]/xe:moveTo[1]/xe:this.targetPage[1]/text()";
            String targetPageExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isMobile())\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn \"document&documentId=\" + viewScope.mainUNID;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn \"topicThread.xsp&documentId=\" + viewScope.mainUNID;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId,String.class);
            action.setValueBinding("targetPage", targetPage);
            action.setForceFullRefresh(true);
            action.setTransitionType("slide");
            action.setDirection("Left to Right");
            action.setSourceReferenceId("label9/xp:eventHandler[1]/xp:this.action[1]/xe:moveTo[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setDisableValidators(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createLink(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:!isMobile()}";
            String sourceId = "/xp:view[1]/xp:panel[2]/xp:panel[1]/xp:panel[3]/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[3]/xp:link[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspOutputLink result = new XspOutputLink();
            String sourceId2 = "/xp:view[1]/xp:panel[2]/xp:panel[1]/xp:panel[3]/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[3]/xp:link[1]/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\treturn \"topicThread.xsp?documentId=\" + viewScope.mainUNID;\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId2,Object.class);
            result.setValueBinding("value", value);
            result.setText("Read More");
            return result;
        }

        private UIComponent createRepeatlist(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspDataIterator result = new XspDataIterator();
            result.setFirst(0);
            String sourceId = "repeatList/@value";
            String valueExpr = "#{javascript:dominoView}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            String sourceId2 = "repeatList/@rendered";
            String renderedExpr = "#{javascript:var lastlevel=0;}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId2,boolean.class);
            result.setValueBinding("rendered", rendered);
            result.setIndexVar("responseIndex");
            result.setVar("rowData");
            result.setRows(300);
            setId(result, "repeatList");
            return result;
        }

        private UIComponent createTable4(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTable result = new XspTable();
            result.setStyleClass("xlReplyTable");
            return result;
        }

        private UIComponent createTr18(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableRow result = new XspTableRow();
            return result;
        }

        private UIComponent createTd27(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspTableCell result = new XspTableCell();
            result.setStyleClass("xlReplyBorder");
            return result;
        }

        private UIComponent createResponseimage(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            String sourceId = "responseImage/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\tvar tag = \"<img alt=\";\n\t\t\t\t\t\t\t\t\ttag += res.getString(\'thread.response.image.alt\');\n\t\t\t\t\t\t\t\t\ttag += \" title=\";\n\t\t\t\t\t\t\t\t\ttag += res.getString(\'thread.response.image.alt\');\n\t\t\t\t\t\t\t\t\ttag += \" src=\\\"/oneuiv2/images/commentIndent.png\\\"\"+\"/>\";\n\t\t\t\t\t\t\t\t\treturn tag;\n\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            String sourceId2 = "responseImage/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(level != null && level <= 4 && level > 0)\n\t\t\t\t\t\t\t\t\t\t\treturn(\"float:left;padding-left:\" + (level-1) * 20) + \"px !important\";\n\t\t\t\t\t\t\t\t\t\t\telse if(level != null && level > 4)\n\t\t\t\t\t\t\t\t\t\t\treturn(\"float:left;padding-left:\" + (3) * 20) + \"px !important\";\n\t\t\t\t\t\t\t\t\t\t\telse return \"\";}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId2,String.class);
            result.setValueBinding("style", style);
            result.setEscape(false);
            String sourceId3 = "responseImage/xp:this.rendered[1]/text()";
            String renderedExpr = "#{javascript:var level = rowData.getResponseLevel();\n\t\t\t\t\t\t\t\t\t\tif (level>lastlevel){lastlevel=level;return true;\n\t\t\t\t\t\t\t\t\t\t}else{lastlevel=level;return false}\n\t\t\t\t\t\t\t\t}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId3,boolean.class);
            result.setValueBinding("rendered", rendered);
            setId(result, "responseImage");
            return result;
        }

        private UIComponent createPanel17(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            String sourceId = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(level != null && level <= 4 && level > 0)\n\t\t\t\t\t\t\t\t\t\t\treturn(\"padding-left:\" + (level ) * 20) + \"px !important\";\n\t\t\t\t\t\t\t\t\t\t\telse if(level != null && level > 4)\n\t\t\t\t\t\t\t\t\t\t\treturn(\"padding-left:\" + (4) * 20) + \"px !important\";\n\t\t\t\t\t\t\t\t\t\t\telse return \"\";}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId,String.class);
            result.setValueBinding("style", style);
            result.setReadonly(true);
            return result;
        }

        private UIComponent createPanel18(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            String sourceId = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\tif(rowData.getNoteID() == dominoDoc.getNoteID())\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\treturn \"background-color:#ffffc8 !important;\";\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t{\t\n\t\t\t\t\t\t\t\t\t\t\treturn \"background-color: #F7F9FC;\";\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId,String.class);
            result.setValueBinding("style", style);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Panel.topicThread");
            return result;
        }

        private UIComponent createPanel19(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Panel.noWrap");
            return result;
        }

        private UIComponent createLink2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLink result = new XspOutputLink();
            String sourceId = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[1]/xp:link[1]/xp:this.style[1]/text()";
            String styleExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(isMobile)\n\t\t\t\t\t\t\t\t\t\t\t\t\"font-size:16px; font-weight:bold;\";\n\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\"font-size:20px; font-weight:bold;\";\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding style = evaluator.createValueBinding(result, styleExpr, sourceId,String.class);
            result.setValueBinding("style", style);
            String sourceId2 = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[1]/xp:link[1]/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\tif(!isMobile())\n\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\treturn \"topicThread.xsp?documentId=\" + rowData.getNoteID();\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId2,Object.class);
            result.setValueBinding("value", value);
            String sourceId3 = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[1]/xp:link[1]/@text";
            String textExpr = "#{javascript:rowData.getColumnValue(\'Topic\')}";
            ValueBinding text = evaluator.createValueBinding(result, textExpr, sourceId3,String.class);
            result.setValueBinding("text", text);
            return result;
        }

        private UIComponent createEventHandler11(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[1]/xp:link[1]/xp:eventHandler[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            MoveToAction actions = new MoveToAction();
            actions.setComponent(result);
            String sourceId2 = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[1]/xp:link[1]/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]/@targetPage";
            String targetPageExpr = "document&documentId=#{javascript:rowData.getNoteID()}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId2,String.class);
            actions.setValueBinding("targetPage", targetPage);
            actions.setForceFullRefresh(true);
            actions.setTransitionType("slide");
            actions.setDirection("Left to Right");
            actions.setSourceReferenceId("repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[1]/xp:link[1]/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]");
            action.addAction(actions);
            action.setSourceReferenceId("repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[1]/xp:link[1]/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createBr10(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("br");
            return component;
        }

        private UIComponent createPanel20(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            return result;
        }

        private UIComponent createLabelcreatedon(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue(" Created on ");
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.generic");
            result.setStyleClass("mblDetailTextBold");
            result.setFor("cfCreatedOn");
            setId(result, "labelCreatedOn");
            return result;
        }

        private UIComponent createCfcreatedon(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputText result = new XspOutputText();
            DateTimeConverter converter = new DateTimeConverter();
            converter.setDateStyle("medium");
            converter.setTimeStyle("short");
            converter.setType("both");
            result.setConverter(converter);
            String sourceId = "cfCreatedOn/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:rowData.getColumnValue(\"All Dates\")}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "ComputedField.view.meta");
            result.setStyleClass("mblDetailTextNormal");
            setId(result, "cfCreatedOn");
            return result;
        }

        private UIComponent createBr11(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPassThroughTag component = new UIPassThroughTag();
            component.setTag("br");
            return component;
        }

        private UIComponent createLabelby2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLabel result = new XspOutputLabel();
            result.setValue(" by ");
            result.setStyleClass("mblDetailTextBold");
            result.setFor("link1");
            setId(result, "labelBy2");
            return result;
        }

        private UIComponent createLink1(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspOutputLink result = new XspOutputLink();
            String sourceId = "link1/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\tif(!isMobile())\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\treturn \"authorProfile.xsp\";\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setEscape(true);
            Map<String,Object> attrs = getAttributes(result);
            attrs.put("themeId", "Link.person");
            result.setStyleClass("mblDetailTextNormal");
            Parameter parameters = new Parameter();
            parameters.setComponent(result);
            String sourceId2 = "link1/xp:this.parameters[1]/xp:parameter[1]/@value";
            String valueExpr2 = "#{javascript:rowData.getColumnValue(\'From\')}";
            ValueBinding value2 = evaluator.createValueBinding(result, valueExpr2, sourceId2,String.class);
            parameters.setValueBinding("value", value2);
            parameters.setName("lookupName");
            result.addParameter(parameters);
            setId(result, "link1");
            String sourceId3 = "link1/xp:this.text[1]/text()";
            String textExpr = "#{javascript:@Name(\"[CN]\", rowData.getColumnValue(\"From\"))}";
            ValueBinding text = evaluator.createValueBinding(result, textExpr, sourceId3,String.class);
            result.setValueBinding("text", text);
            return result;
        }

        private UIComponent createEventHandler12(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "link1/xp:eventHandler[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspEventHandler result = new XspEventHandler();
            ActionGroup action = new ActionGroup();
            action.setComponent(result);
            ExecuteScriptAction actions = new ExecuteScriptAction();
            actions.setComponent(result);
            String sourceId2 = "link1/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]/xp:this.script[1]/text()";
            MethodBinding script = evaluator.createMethodBinding(result,
                    "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsessionScope.from = \"document&documentId=\" + viewScope.mainUNID;\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tviewScope.authorName = rowData.getDocument().getItemValueString(\"From\");\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}",
                    null,null, sourceId2);
            actions.setScript(script);
            actions.setSourceReferenceId("link1/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xp:executeScript[1]");
            action.addAction(actions);
            MoveToAction actions2 = new MoveToAction();
            actions2.setComponent(result);
            String sourceId3 = "link1/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]/@targetPage";
            String targetPageExpr = "authorProfile&lookupName=#{javascript:viewScope.authorName}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId3,String.class);
            actions2.setValueBinding("targetPage", targetPage);
            actions2.setForceFullRefresh(true);
            actions2.setTransitionType("slide");
            actions2.setDirection("Left to Right");
            actions2.setSourceReferenceId("link1/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]/xe:moveTo[1]");
            action.addAction(actions2);
            action.setSourceReferenceId("link1/xp:eventHandler[1]/xp:this.action[1]/xp:actionGroup[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createBr12(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createBr13(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createPanel21(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            UIPanelEx result = new UIPanelEx();
            String sourceId = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[3]/@rendered";
            String renderedExpr = "#{javascript:rowData.getNoteID()!=dominoDoc.getNoteID()}";
            ValueBinding rendered = evaluator.createValueBinding(result, renderedExpr, sourceId,boolean.class);
            result.setValueBinding("rendered", rendered);
            return result;
        }

        private UIComponent createInputrichtext2(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspInputRichText result = new XspInputRichText();
            String sourceId = "inputRichText2/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\trowData.getColumnValue(\"Abstract\");\n\t\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId,Object.class);
            result.setValueBinding("value", value);
            result.setStyle("background-color: #F7F9FC;");
            result.setReadonly(true);
            result.setStyleClass("mblThreadRichText");
            setId(result, "inputRichText2");
            return result;
        }

        private UIComponent createBr14(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

        private UIComponent createLabel11(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:isMobile()}";
            String sourceId = "label11/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspOutputLabel result = new XspOutputLabel();
            result.setValue("Read More...");
            result.setRole("button");
            result.setStyleClass("xlTopicReadMore");
            setId(result, "label11");
            return result;
        }

        private UIComponent createEventHandler13(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspEventHandler result = new XspEventHandler();
            MoveToAction action = new MoveToAction();
            action.setComponent(result);
            String sourceId = "label11/xp:eventHandler[1]/xp:this.action[1]/xe:moveTo[1]/xe:this.targetPage[1]/text()";
            String targetPageExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tif(isMobile())\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn \"document&documentId=\" + rowData.getUniversalID();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\treturn \"topicThread.xsp&documentId=\" + rowData.getUniversalID();\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding targetPage = evaluator.createValueBinding(result, targetPageExpr, sourceId,String.class);
            action.setValueBinding("targetPage", targetPage);
            action.setForceFullRefresh(true);
            action.setTransitionType("slide");
            action.setDirection("Left to Right");
            action.setSourceReferenceId("label11/xp:eventHandler[1]/xp:this.action[1]/xe:moveTo[1]");
            result.setAction(action);
            result.setSubmit(true);
            result.setDisableValidators(true);
            result.setEvent("onclick");
            result.setRefreshMode("complete");
            return result;
        }

        private UIComponent createLink3(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            // loaded=??
            String loadedBnd = "#{javascript:!isMobile()}";
            String sourceId = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[3]/xp:link[1]/@loaded";
            String loaded = evaluator.evaluateAsString(null, loadedBnd, sourceId, boolean.class);
            if ( null != loaded && loaded.length() > 0 &&
                    ! Boolean.parseBoolean(loaded) ) {
                return null;
            } // else loaded was true
            XspOutputLink result = new XspOutputLink();
            String sourceId2 = "repeatList/xp:table[1]/xp:tr[1]/xp:td[1]/xp:panel[1]/xp:panel[1]/xp:panel[3]/xp:link[1]/xp:this.value[1]/text()";
            String valueExpr = "#{javascript:\n\t\t\t\t\t\t\t\t\t\t\treturn \"topicThread.xsp?documentId=\" + rowData.getUniversalID();\n\t\t\t\t\t\t\t\t\t\t}";
            ValueBinding value = evaluator.createValueBinding(result, valueExpr, sourceId2,Object.class);
            result.setValueBinding("value", value);
            result.setText("Read More");
            return result;
        }

        private UIComponent createBr15(FacesContext context, 
                UIComponent parent, PageExpressionEvaluator evaluator) {
            XspLineBreak result = new XspLineBreak();
            return result;
        }

    }
}
